package com.txby.platformCore.entity.shop;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.txby.platformCore.entity.SysBaseEntity;

import lombok.Data;

/**
 * 通用商品表
 * @author Administrator
 *
 */

@Data
@Entity
@Table(name = "t_txby_sp_baseGoods")
public class BaseGoods extends SysBaseEntity{
	private Long goodsTypeId;//关联商品总栏目类别id
	private Long shopsId;//关联商家id
	private String name;//商品名称
	private String NO;//商品编码
	private String keyName;//商品关键字
	private String spellFullName;//全拼名称
	private String spellSimpleName;//拼音简称
	private String introState;//商品简介
	private String introDetail;//商品详情
	private String introNotice;//商品购买须知
	private Double price;//商品单价，精确到2位小数
	
	private Date publishTime;//上架时间
	private Date downTime;//下架时间
	private Integer isDown=0;//是否下架默认0立刻上架，1：下架
	private String unit;//计价单位
//	private Long stockNum;//商品库存量
//	private String url;//商品url
}
